mapbox-maps-android
/
com.mapbox.maps
/
[androidJvm]TileOptions
/
Builder
Builder
class
Builder
Content copied to clipboard
Constructors
Functions
Constructors
Builder
Link copied to clipboard
open fun
Builder
()
Content copied to clipboard
Functions
buffer
Link copied to clipboard
open fun
buffer
(buffer:
Short
):
TileOptions.Builder
Content copied to clipboard
Tile buffer size on each side (measured in 1/512ths of a tile; higher means fewer rendering artifacts near tile edges but slower performance).
build
Link copied to clipboard
open fun
build
():
TileOptions
Content copied to clipboard
clip
Link copied to clipboard
open fun
clip
(clip:
Boolean
):
TileOptions.Builder
Content copied to clipboard
If the data includes geometry outside the tile boundaries, setting this to true clips the geometry to the tile boundaries.
tileSize
Link copied to clipboard
open fun
tileSize
(tileSize:
Short
):
TileOptions.Builder
Content copied to clipboard
Size of the tiles.
tolerance
Link copied to clipboard
open fun
tolerance
(tolerance:
Double
):
TileOptions.Builder
Content copied to clipboard
Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance).
wrap
Link copied to clipboard
open fun
wrap
(wrap:
Boolean
):
TileOptions.Builder
Content copied to clipboard
If the data includes wrapped coordinates, setting this to true unwraps the coordinates.